Fix a crash
authorMatthias Clasen <mclasen@redhat.com>
Fri, 12 Apr 2019 17:58:33 +0000 (13:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 12 Apr 2019 19:08:01 +0000 (15:08 -0400)
We had a signal handler with a wrong signature, causing
a crash when looking  at the GtkSettings properties in
the inspector.

gtk/gtkimmulticontext.c

index e075adfbc3ff28f1fea6e18c0db8600576113031..7412bba95696c41c9db582e7ffc9d3c9f8d093f5 100644 (file)
@@ -283,6 +283,7 @@ gtk_im_multicontext_get_slave (GtkIMMulticontext *multicontext)
 
 static void
 im_module_setting_changed (GtkSettings       *settings, 
+                           GParamSpec        *pspec,
                            GtkIMMulticontext *self)
 {
   gtk_im_multicontext_set_slave (self, NULL, FALSE);